﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace AcademicPlanner.Presentation.Controllers
{
	/// <summary>
	/// SiteController is the MVC controller class for requests that are general
	/// to the AcademicPlanner application site.
	/// </summary>
	/// <version>1.0</version>
	/// <since>1.0</since>
    [HandleError]
    public class SiteController : Controller
    {
		/// <summary>
		/// Handles requests by default (effectively the home page).
		/// This MVC action method returns the "Home" view in a "InNoSection" master page.
		/// </summary>
		/// <returns>The view representation of the home page.</returns>
		/// <version>1.0</version>
		/// <since>1.0</since>
        [AcceptVerbs(HttpVerbs.Get)]
        public ActionResult Default()
        {
			return View("Home", "InNoSection");
		}
    }
}
